from django.db import models

class Category (models.Model):
	category_title = models.CharField(max_length = 100)
	
class Post (models.Model):
	title = models.CharField(max_length=100)
	body = models.TextField()
	created = models.DateTimeField()
	category = models.ForeignKey(Category)

	def __unicode__ (self):
		return self.title
		
class Sites (models.Model):
	sites = models.CharField(max_length=100)
	
class AboutMe (models.Model):
	body = models.TextField()
	
class CloseBlog(models.Model):
	body = models.TextField()
	

